package control {
	import com.adobe.cairngorm.control.FrontController;

	import command.AddProductCommand;
	import command.DelProductCommand;

	import event.ProductEvent;

	public class ProductController extends FrontController {
		public function ProductController() {
			onInit();
		}

		private function onInit():void {
			addCommand(ProductEvent.ADD_PRODUCT, AddProductCommand);
			addCommand(ProductEvent.DEL_PRODUCT, DelProductCommand);
		}

	}
}